package com.gitee.apanlh.annotation.sensitive;

import com.gitee.apanlh.util.sensitive.SensitiveItemEnum;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**	
 * 	脱敏注解
 * 	
 * 	@author Pan
 */
@Target(value = {ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SensitiveItemType {
	
	/**	
	 * 	形容命名
	 * 	
	 * 	@author Pan
	 * 	@return	String
	 */
	String name() default "";

	/**	
	 * 	脱敏类型 值
	 * 	
	 * 	@return	SensitiveItemEnum
	 */
	SensitiveItemEnum type();
}
